package com.cp.helper.bean;

import java.sql.Timestamp;
import java.io.Serializable;
/**
 * 描述:自动生成的Tag
 *
 * @author chenpeng
 * @date 2015-10-22 20:58:13
 */
public class Tag implements Serializable{

    private static final long serialVersionUID = 1L;
    /**
     *主键
     */
    private Integer id;

    /**
     *内容
     */
    private String content;

    /**
     *用户id
     */
    private Integer userId;

    /**
     *tag的类型
     */
    private Integer type;

    /**
     *自定义的类型
     */
    private Integer category;

    /**
     *自定义的类型名称
     */
    private String categoryName;

    /**
     *状态 1-正常 2-已删除
     */
    private Integer statusFlag;

    /**
     *创建时间
     */
    private Timestamp createTime;

    /**
     *删除时间
     */
    private String deleteTime;


    public void Tag(){}


    public Integer getId(){
        return this.id;
    }

    public void setId(Integer id){
        this.id = id;
    }

    public String getContent(){
        return this.content;
    }

    public void setContent(String content){
        this.content = content;
    }

    public Integer getUserId(){
        return this.userId;
    }

    public void setUserId(Integer userId){
        this.userId = userId;
    }

    public Integer getType(){
        return this.type;
    }

    public void setType(Integer type){
        this.type = type;
    }

    public Integer getCategory(){
        return this.category;
    }

    public void setCategory(Integer category){
        this.category = category;
    }

    public String getCategoryName(){
        return this.categoryName;
    }

    public void setCategoryName(String categoryName){
        this.categoryName = categoryName;
    }

    public Integer getStatusFlag(){
        return this.statusFlag;
    }

    public void setStatusFlag(Integer statusFlag){
        this.statusFlag = statusFlag;
    }

    public Timestamp getCreateTime(){
        return this.createTime;
    }

    public void setCreateTime(Timestamp createTime){
        this.createTime = createTime;
    }

    public String getDeleteTime(){
        return this.deleteTime;
    }

    public void setDeleteTime(String deleteTime){
        this.deleteTime = deleteTime;
    }

    @Override
    public String toString(){
        return this.id+","+this.content+","+this.userId+","+this.type+","+this.category+","+this.categoryName+","+this.statusFlag+","+this.createTime+","+this.deleteTime;
    }
}
